{% extends 'AdminSystemBundle::base.html.twig' %}


{% block content %}
	<div class="breadcrumbs" id="breadcrumbs">
		<ul class="breadcrumb">
			<li>
				<i class="icon-home home-icon"></i>
				<a href="{{ path('admin_system_index') }}">Início</a>

				<span class="divider">
					<i class="icon-angle-right arrow-icon"></i>
				</span>
			</li>
			<li class="active">Usuários</li>
		</ul><!--.breadcrumb-->						
	</div>
	<div class="page-content">
		<div class="row-fluid">
			<div class="span12">
			    <div class="page-header position-relative">
					<h1>
						Perfil do Usuário						
					</h1>
				</div>
			    <div class="profile-user-info profile-user-info-striped">			        
		            <div class="profile-info-row">
		            	<div class="profile-info-name">Nome</div>
		            	<div class="profile-info-value">{{ app.user.nome }}</div>
		            </div>           
		            <div class="profile-info-row">
		            	<div class="profile-info-name">Login</div>
		            	<div class="profile-info-value">{{ app.user.username }}</div>
		            </div>           
		            <div class="profile-info-row">
		            	<div class="profile-info-name">E-mail</div>
		            	<div class="profile-info-value">{{ app.user.email }}</div>
		            </div>           
		            <div class="profile-info-row">
		            	<div class="profile-info-name">Ativo</div>
		            	<div class="profile-info-value">{% if app.user.isActive %}Sim{% else %}Não{% endif %}</div>
		            </div>   
			    </div>
			    <br>
			    
			  	<button type='submit' class='btn btn-info' onclick="document.location.href='{{ path('admin_system_user_edit_profile') }}';" >Alterar Perfil</a>						  
		    </div>
		</div>
	</div>	
{% endblock %}

